package com.where.test.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: where
 * @Date: 2023/02/27/11:06
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(value = "content")
@ToString
public class Content {
    @Id
    private String id;
    private String content;
}
